<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        :root{
            /* css4 */
            --blue:#1e90ff;
            color: black;
        }
        body{
            color: orange;
            background-color: var(--blue);
        }
        h1{
            color: inherit;
        }
    </style>
</head>
<body>
    <h1>css继承</h1>
    <a href="">链接如何放弃浏览器的着色 继承父元素的颜色</a>
</body>
</html>